package com.example.demo.service;

import com.example.demo.dto.FliterExamCondition;
import com.example.demo.entity.Exam;
import com.example.demo.entity.Progress;
import org.springframework.data.repository.query.Param;

import java.util.List;

public interface ExamService {
    Exam findExam(Long examId);

    List<Exam> filterExam(FliterExamCondition fliterExamCondition);

    Exam updateScore(String score, Long id);
    List<Exam> findAllExam();
    List<Exam> findByStudentID(Long studentId);

    List<Exam> findByCoachID(Long coachId);

    Exam findNewExam(Long studentId);

    Exam addExam(Exam exam);

    Long deleteExam(Long examId);

    Exam updateExam(Exam exam);
}
